add a new struct field to clear the file entry after the current folder
authorMatthias Clasen <mclasen@redhat.com>
Tue, 1 May 2007 20:35:33 +0000 (20:35 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Tue, 1 May 2007 20:35:33 +0000 (20:35 +0000)
commita9423f4964e6e1d299e913b57fd92963a7f306e5
treee27a90d9ff62dc19b2de8a20030b8c7ac6ac64a0
parent2a80113304da3afab9b9d6930a95427e35a83af6
add a new struct field to clear the file entry after the current folder

2007-05-01  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkfilechooserdefault.c (struct UpdateCurrentFolderData),
        (update_current_folder_get_info_cb): add a new struct field to clear
        the file entry after the current folder has been updated.

        (gtk_file_chooser_default_update_current_folder),
        (change_folder_and_display_error): Add a new function parameter to
        trigger file entry clearing.

        (edited_idle_create_folder_cb),
        (file_list_drag_data_received_get_info_cb),
        (gtk_file_chooser_default_map),
        (gtk_file_chooser_default_set_current_folder),
        (switch_to_selected_folder), (save_entry_get_info_cb),
        (shortcuts_activate_volume_mount_cb), (shortcuts_activate_volume),
        (shortcuts_activate_get_info_cb), (list_row_activated),
        (path_bar_clicked): use new function parameter appropriately.

        (gtk_file_chooser_default_should_respond): trigger file entry clearing
        after the directory is updated instead of clearing it before, this way
        we avoid reloading the completion model with the soon to be old folder,
        causing a warning and a glitch in the folder where completion happens.
        (#379414, Carlos Garnacho)

svn path=/trunk/; revision=17754
ChangeLog
gtk/gtkfilechooserdefault.c